package com.qinglei.recoup.system.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 床位状态业务对象
 */
@Data
@ToString
public class BedStatusBO implements Serializable {
    @ApiModelProperty("床位ID")
    private Integer bedId;

    @ApiModelProperty("床位名称")
    private String bedName;

    @ApiModelProperty("楼名称")
    private String buildingName;

    @ApiModelProperty(value = "监测仪是否开启 1-开启 0-关闭")
    private Integer isRadarOn;

    @ApiModelProperty(value = "监测仪是否在线 1-在线 0-离线")
    private Integer isRadarOnline;

    @ApiModelProperty(value = "状态 1-正常 2-事件报警")
    private Integer status;

    @ApiModelProperty(value = "子状态 监测时段正常子状态 1-离床 2-清醒 3-浅睡 4-深睡 异常事件子状态 1-离床过久")
    private Integer subStatus;

    @ApiModelProperty(value = "事件ID")
    private Long eventId;

    @ApiModelProperty(value = "离床发生时间")
    private LocalDateTime happenTime;

    @ApiModelProperty(value = "[废弃]监测时段ID 0-不在监测时段 其他对应监测时段ID")
    @Deprecated
    private Integer monitorTimeId;

    @ApiModelProperty(value = "监测仪关闭备注")
    private String remarks;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "事件状态 1-发生 2-已接单 3-处理完")
    private Integer eventStatus;

    @ApiModelProperty(value = "租户ID")
    private Integer tenantId;

    @ApiModelProperty(value = "雷达类型 1-床 2-卫生间")
    private Integer radarType;

    private String	healthyStatusName;
    private Integer    healthyBpm; //健康BPM检测状态：    3-呼吸正常 4-呼吸过速 5-呼吸暂停过久 6-心跳正常 7-心跳过速 8-心跳暂停过久
    private String radarVersion; //雷达版本号
}
